<script setup>
import {ref} from "vue";

const info =ref('我是info')
const aaa=ref('我是aaa')
const f=()=>{
  console.log('我是f函数');
  console.log(aaa.value);
  aaa.value="我是<mark>新值<mark>!大家<b>下午好！</b>"
}

</script>

<template>
  <h1>我是A组件</h1>
  <h1>我是h1{{info}}</h1>
  <span>{{info}}</span>
  {{info+'下午好'}}
  <button @click="f">按钮</button>
  <hr>
  <p>{{aaa}}</p>
  <p v-text="aaa"></p>
  <p v-html="aaa"></p>
</template>

<style scoped>

</style>